package com.tchepannou.limbe.validation.constraints;

import javax.validation.Constraint;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * User: herve
 * Date: 14-01-12 11:37 AM
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value={ElementType.FIELD})
@Constraint (validatedBy = {})
public @interface ValidEmail
{
    String message() default "Invalid email";
}
